package com.sch.hospital.domain;

import java.time.LocalDate;

/**
 * 医生工作安排对象 doctorwork
 * 
 * @author ruoyi
 * @date 2025-06-30
 */
public class Doctorwork
{
    /** 排班ID，自增主键 */
    private Long id;

    /** 工作日期 */
    private String day;

    /** 医生ID */
    private Long docId;

    /** 上午是否工作:0不工作,1工作 */
    private Long amwork;

    /** 下午是否工作:0不工作,1工作 */
    private Long pmwork;

    /** 星期几 */
    private String weekday;

    /** 挂号费用ID */
    private Long feeId;

    /** 可挂号数量 */
    private Long countLeft;

    /** 状态:0未发布,1已发布 */
    private Long status;

    /** 诊室ID */
    private Long roomId;

    /** 创建时间 */
    private LocalDate createTime;

    /** 更新时间 */
    private LocalDate updateTime;

    public Doctorwork() {
    }

    public Doctorwork(Long id, String day, Long docId, Long amwork, Long pmwork, String weekday, Long feeId, Long countLeft, Long status, Long roomId, LocalDate createTime, LocalDate updateTime) {
        this.id = id;
        this.day = day;
        this.docId = docId;
        this.amwork = amwork;
        this.pmwork = pmwork;
        this.weekday = weekday;
        this.feeId = feeId;
        this.countLeft = countLeft;
        this.status = status;
        this.roomId = roomId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return day
     */
    public String getDay() {
        return day;
    }

    /**
     * 设置
     * @param day
     */
    public void setDay(String day) {
        this.day = day;
    }

    /**
     * 获取
     * @return docId
     */
    public Long getDocId() {
        return docId;
    }

    /**
     * 设置
     * @param docId
     */
    public void setDocId(Long docId) {
        this.docId = docId;
    }

    /**
     * 获取
     * @return amwork
     */
    public Long getAmwork() {
        return amwork;
    }

    /**
     * 设置
     * @param amwork
     */
    public void setAmwork(Long amwork) {
        this.amwork = amwork;
    }

    /**
     * 获取
     * @return pmwork
     */
    public Long getPmwork() {
        return pmwork;
    }

    /**
     * 设置
     * @param pmwork
     */
    public void setPmwork(Long pmwork) {
        this.pmwork = pmwork;
    }

    /**
     * 获取
     * @return weekday
     */
    public String getWeekday() {
        return weekday;
    }

    /**
     * 设置
     * @param weekday
     */
    public void setWeekday(String weekday) {
        this.weekday = weekday;
    }

    /**
     * 获取
     * @return feeId
     */
    public Long getFeeId() {
        return feeId;
    }

    /**
     * 设置
     * @param feeId
     */
    public void setFeeId(Long feeId) {
        this.feeId = feeId;
    }

    /**
     * 获取
     * @return countLeft
     */
    public Long getCountLeft() {
        return countLeft;
    }

    /**
     * 设置
     * @param countLeft
     */
    public void setCountLeft(Long countLeft) {
        this.countLeft = countLeft;
    }

    /**
     * 获取
     * @return status
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /**
     * 获取
     * @return roomId
     */
    public Long getRoomId() {
        return roomId;
    }

    /**
     * 设置
     * @param roomId
     */
    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    /**
     * 获取
     * @return createTime
     */
    public LocalDate getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public LocalDate getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(LocalDate updateTime) {
        this.updateTime = updateTime;
    }

    public String toString() {
        return "Doctorwork{id = " + id + ", day = " + day + ", docId = " + docId + ", amwork = " + amwork + ", pmwork = " + pmwork + ", weekday = " + weekday + ", feeId = " + feeId + ", countLeft = " + countLeft + ", status = " + status + ", roomId = " + roomId + ", createTime = " + createTime + ", updateTime = " + updateTime + "}";
    }
}
